package com.dfbz.demo02_枚举的使用;

import org.junit.Test;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo03_枚举的成员 {

    @Test
    public void test() throws Exception {

        Color blue = Color.BLUE;

        System.out.println(blue.aaa);
        System.out.println(blue.bbb);

        blue.setName("蓝色");
        System.out.println(blue.getName());

        blue.method();

        Color.method();

    }
}
